package com.xueyi.system.signin.domain.po;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xueyi.common.core.web.tenant.base.TBaseEntity;
import com.xueyi.system.signin.domain.dto.SigninDto;
import com.baomidou.mybatisplus.annotation.TableField;
import com.xueyi.common.core.annotation.Excel;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

/**
 * 签到 持久化对象
 *
 * @author xueyi
 */
@TableName(value = "base_signin", excludeProperty = {"name", "sort", "status"})
public class SigninPo extends TBaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 员工id
     */
    @Excel(name = "员工id")
    @TableField("user_id")
    private String userId;

    /**
     * 员工名称
     */
    @Excel(name = "员工名称")
    @TableField(value = "user_name",condition = LIKE)
    private String userName;

    /**
     * 部门id
     */
    @Excel(name = "部门id")
    @TableField("dept_id")
    private String deptId;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称")
    @TableField("dept_name")
    private String deptName;

    /**
     * 签到日期
     */
    @Excel(name = "签到日期")
    @TableField("sign_in_date")
    private String signInDate;

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setSignInDate(String signInDate) {
        this.signInDate = signInDate;
    }

    public String getSignInDate() {
        return signInDate;
    }

}
